From b6c2ae629c000b91ae58ebd2dfe6d112b014a568 Mon Sep 17 00:00:00 2001 From: Eric Leblond Date: Wed, 17 Jul 2019 12:35:12 +0200 Subject: [PATCH] [PATCH] af-packet: fix build on recent Linux kernels Gbp-Pq: Name import-sockio-h.patch --- src/source-af-packet.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/source-af-packet.c b/src/source-af-packet.c index e0d0af67..55daa0b4 100644 --- a/src/source-af-packet.c +++ b/src/source-af-packet.c @@ -71,6 +71,10 @@ #include #endif +#if HAVE_LINUX_SOCKIOS_H +#include +#endif + #ifdef HAVE_PACKET_EBPF #define PCAP_DONT_INCLUDE_PCAP_BPF_H 1 #include -- 2.30.2